package com.itheima.commons.utils;

import java.io.IOException;
import java.util.Properties;

/**
 * 定义配置加载工具
 */
public class ProLoadUtil {

    public static Properties proload()   {
        Properties properties = new Properties();
        try {
            properties.load(SendMsgUtil.class.getClassLoader().getResourceAsStream("aliyun.properties"));
        } catch (IOException e) {
            e.printStackTrace();
        }
        return properties;
    }
}
